<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:h="http://java.sun.com/jsf/html">

<h:body>

	<c:if test="#{loginBean.isAuthenticated()}">
		<h:form>
			<p:menu style="width:40%">
				<p:menuitem value="Make new order" action="toStoreOrderAdd" ajax="false"
					icon="ui-icon-document" />
				<p:menuitem value="Choose from saved drafts" action="toStoreOrderDraftList"
					ajax="false" icon="ui-icon-newwin" />
			</p:menu>
		</h:form>
	</c:if>

</h:body>
</html>